package com.ssr.master.modules.entity;


import com.ssr.master.common.Base.BaseEntity;

import java.util.List;

/**
 * 系统菜单
 *
 * @author ZhangPeng
 * @Describe //todo
 * @date
 * @updateBy
 * @other
 **/
public class SysMenuDict extends BaseEntity {
    private String parentId; //父级菜单
    private String parentIds; //所有父级集合
    private String menuName; //菜单名称
    private String href; //菜单连接
    private String target; //打开方式
    private String icon; //菜单图标路径
    private String isShow; //是否显示
    private String powerType; //权限标识
    private String perms; //授权(多个用逗号分隔，如：user:list,user:create)


    //扩展
    // 用户UserId
    private String userId;

    // 子菜单
    private List<SysMenuDict> menuChildList;


    public SysMenuDict() {

    }

    public SysMenuDict(SysMenuDict personInfo) {
        super();
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getParentIds() {
        return parentIds;
    }

    public void setParentIds(String parentIds) {
        this.parentIds = parentIds;
    }

    public String getMenuName() {
        return menuName;
    }

    public void setMenuName(String menuName) {
        this.menuName = menuName;
    }

    public String getHref() {
        return href;
    }

    public void setHref(String href) {
        this.href = href;
    }

    public String getTarget() {
        return target;
    }

    public void setTarget(String target) {
        this.target = target;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getIsShow() {
        return isShow;
    }

    public void setIsShow(String isShow) {
        this.isShow = isShow;
    }

    public String getPowerType() {
        return powerType;
    }

    public void setPowerType(String powerType) {
        this.powerType = powerType;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getPerms() {
        return perms;
    }

    public void setPerms(String perms) {
        this.perms = perms;
    }

    public List<SysMenuDict> getMenuChildList() {
        return menuChildList;
    }

    public void setMenuChildList(List<SysMenuDict> menuChildList) {
        this.menuChildList = menuChildList;
    }
}
